package cn.wolfcode.luowowo.flight.service.impl;

import cn.wolfcode.luowowo.flight.domain.Airlines;
import cn.wolfcode.luowowo.flight.mapper.AirlinesMapper;
import cn.wolfcode.luowowo.flight.service.IAirlinesService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class AirlinesServiceImpl implements IAirlinesService {

    @Autowired
    private AirlinesMapper airlinesMapper;

    @Override
    public List<Airlines> query() {
        return airlinesMapper.selectAll();
    }
}
